src/mako/gatekeeper/entities/user/User.php
public function isLocked(): bool
	{
		return $this->locked_until !== null && $this->locked_until->getTimestamp() >= Time::now()->getTimestamp();
	}
public function isLocked(): bool
	{
		return $this->locked_until !== null && $this->locked_until->getTimestamp() >= Time::now()->getTimestamp();
	}
public function isLocked ( ) : bool { return $ this -> locked_until !== null && $ this -> locked_until -> getTimestamp ( ) >= Time :: now ( ) -> getTimestamp ( ) ; }
Returns TRUE if the account is locked and FALSE if not.

@return bool
Returns TRUE if the account is locked and FALSE if not .