This function returns one of the following values of the boolean_t enumeration (defined in the <am_types.h> header file):
If the resource has patterns.
Otherwise.