Newscoop\Entity\User::isAccountNonLocked PHP Method

isAccountNonLocked() public method

Checks if the user account is not locked. Currently there is no seperation between pending and banned.
public isAccountNonLocked ( ) : boolean
return boolean Not locked status
    public function isAccountNonLocked()
    {
        return !$this->isBanned();
    }