public function isValid( $key = null ) {
		$key = $key ? $this->sanitizeKey( $key ) : $this->getKey();
		return strlen( $key ) === 35;
	}
public function isValid( $key = null ) {
		$key = $key ? $this->sanitizeKey( $key ) : $this->getKey();
		return strlen( $key ) === 35;
	}
public function isValid ( $ key = null ) { $ key = $ key ? $ this -> sanitizeKey ( $ key ) : $ this -> getKey ( ) ; return strlen ( $ key ) === 35 ; }
Checks if key is valid length after format and sanitization is done.

@since  1.0.0

@param  string $key The API key to check.

@return bool        Is the key valid?
Checks if key is valid length after format and sanitization is done .