public function isValid($target)
    {
        if (mb_strlen($target, $this->charset) < $this->length) {
            $this->violate(sprintf($this->message, $this->length));
            return false;
        } else {
            return true;
        }
    }
public function isValid($target)
    {
        if (mb_strlen($target, $this->charset) < $this->length) {
            $this->violate(sprintf($this->message, $this->length));
            return false;
        } else {
            return true;
        }
    }
public function isValid ( $ target ) { if ( mb_strlen ( $ target , $ this -> charset ) < $ this -> length ) { $ this -> violate ( sprintf ( $ this -> message , $ this -> length ) ) ; return false ; } else { return true ; } }
Checks whether target is valid

@param string $target
@return boolean True if string is blank, False otherwise
Checks whether target is valid