public function isEasyAdminGranted(array $entityConfig, string $actionName, $subject = null)
    {
        try {
            $this->checksUserAccess($entityConfig, $actionName, $subject);
        } catch (AccessDeniedException $e) {
            return false;
        }

        return true;
    }
public function isEasyAdminGranted(array $entityConfig, string $actionName, $subject = null)
    {
        try {
            $this->checksUserAccess($entityConfig, $actionName, $subject);
        } catch (AccessDeniedException $e) {
            return false;
        }

        return true;
    }
public function isEasyAdminGranted ( array $ entityConfig , string $ actionName , $ subject = null ) { try { $ this -> checksUserAccess ( $ entityConfig , $ actionName , $ subject ) ; } catch ( AccessDeniedException $ e ) { return false ; } return true ; }
Returns user access as boolean, no exception thrown.

@param array  $entityConfig
@param string $actionName
@param mixed  $subject

@return bool
Returns user access as boolean no exception thrown .