concrete/src/Authentication/AuthenticationType.php
public function isHooked($user)
    {
        $result = null;
        if (is_callable([$this->controller, 'getBindingForUser'])) {
            $result = $this->controller->getBindingForUser($user) !== null;
        } else {
            $result = null;
        }

        return $result;
    }
public function isHooked($user)
    {
        $result = null;
        if (is_callable([$this->controller, 'getBindingForUser'])) {
            $result = $this->controller->getBindingForUser($user) !== null;
        } else {
            $result = null;
        }

        return $result;
    }
public function isHooked ( $ user ) { $ result = null ; if ( is_callable ( [ $ this -> controller , 'getBindingForUser' ] ) ) { $ result = $ this -> controller -> getBindingForUser ( $ user ) !== null ; } else { $ result = null ; } return $ result ; }
Is this authentication type already hooked for a specific user?

@param \Concrete\Core\User\User|\Concrete\Core\User\UserInfo|\Concrete\Core\Entity\User\User|int $user

@return bool|null returns null if the controller does not implement a way to determine if a user is already hooked or not
Is this authentication type already hooked for a specific user?