<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _contains_policies(self, resource_properties):
 """ Is there policies data in this resource? :param dict resource_properties: Properties of the resource :return: True if we can process this resource. False, otherwise """

        return resource_properties is not None \
            and isinstance(resource_properties, dict) \
            and self.POLICIES_PROPERTY_NAME in resource_properties