public function isValid($password)
    {
        return ($this->isU($password) && $this->isL($password) && $this->isN($password) && $this->isS($password) && $this->len($password) >= $this->getLength()) ? true : false;
    }
public function isValid($password)
    {
        return ($this->isU($password) && $this->isL($password) && $this->isN($password) && $this->isS($password) && $this->len($password) >= $this->getLength()) ? true : false;
    }
public function isValid ( $ password ) { return ( $ this -> isU ( $ password ) && $ this -> isL ( $ password ) && $ this -> isN ( $ password ) && $ this -> isS ( $ password ) && $ this -> len ( $ password ) >= $ this -> getLength ( ) ) ? true : false ; }
Validate the password.

@param $password userPassword

@since 2.9.7

@return int
Validate the password .