function hasRegexp()
	{
		if ( !is_null( $this->attribute('passwordvalidationregexp' ) ) &&
			( $this->attribute( 'passwordvalidationregexp' ) != self::NOT_DEFINED ) &&
			( $this->attribute( 'passwordvalidationregexp' ) != '' ) )
		{
			return true;
		}
		else
		{
		    return false;
		}
	}
function hasRegexp()
	{
		if ( !is_null( $this->attribute('passwordvalidationregexp' ) ) &&
			( $this->attribute( 'passwordvalidationregexp' ) != self::NOT_DEFINED ) &&
			( $this->attribute( 'passwordvalidationregexp' ) != '' ) )
		{
			return true;
		}
		else
		{
		    return false;
		}
	}
function hasRegexp ( ) { if ( ! is_null ( $ this -> attribute ( 'passwordvalidationregexp' ) ) && ( $ this -> attribute ( 'passwordvalidationregexp' ) != self :: NOT_DEFINED ) && ( $ this -> attribute ( 'passwordvalidationregexp' ) != '' ) ) { return true ; } else { return false ; } }
Check if validation regexp is defined or not

@return true/false
Check if validation regexp is defined or not