public function offsetExists( $offset )
	{
		// Can not retrieve a key based on a value other than a string, integer or boolean
		if( !is_string( $offset ) && !is_int( $offset ) && !is_bool( $offset ) ) {
			return false;
		}

		return array_key_exists( $offset, $this->data );
	}
public function offsetExists( $offset )
	{
		// Can not retrieve a key based on a value other than a string, integer or boolean
		if( !is_string( $offset ) && !is_int( $offset ) && !is_bool( $offset ) ) {
			return false;
		}

		return array_key_exists( $offset, $this->data );
	}
public function offsetExists ( $ offset ) { // Can not retrieve a key based on a value other than a string, integer or boolean if ( ! is_string ( $ offset ) && ! is_int ( $ offset ) && ! is_bool ( $ offset ) ) { return false ; } return array_key_exists ( $ offset , $ this -> data ) ; }
Check if the given offset exists in the set of data.

@param mixed $offset The offset to check.

@return bool
Check if the given offset exists in the set of data .