src/Admin/AbstractAdmin.php
public function canAccessObject($action, $object)
    {
        return $object && $this->id($object) && $this->hasAccess($action, $object);
    }
public function canAccessObject($action, $object)
    {
        return $object && $this->id($object) && $this->hasAccess($action, $object);
    }
public function canAccessObject ( $ action , $ object ) { return $ object && $ this -> id ( $ object ) && $ this -> hasAccess ( $ action , $ object ) ; }
Check object existence and access, without throw Exception.

@param string $action
@param object $object

@return bool
Check object existence and access without throw Exception .