public function hasPermissions($object, $modify = null)
{
if (!$object instanceof AccessPermissionsInterface) {
throw new Scalr_Exception_Core('Object is not an instance of AccessPermissionsInterface');
}
return $object->hasAccessPermissions($this->getUser(), $this->getEnvironment(), $modify);
}