def METHOD_NAME(self):
    try:
        returnedPermissions = self._get_policy_permissions()
        matches = set(self.REQUIRED_PERMISSIONS) == set(returnedPermissions)
        if matches:
            return click.secho(
                "Permissions verified for {resource}".format(
                    resource=self._resource_id
                ),
            )
    except:
        pass
    raise SystemExit(
        "ERROR: Permissions not enough to modify {resource}".format(
            resource=self._resource_id
        )
    )