public function prop_search( array $array, $property, $value ) {
		foreach ( $array as $key => $a ) {
			if ( property_exists( $a, $property ) && $a->{$property} == $value ) {
				return $key;
			}
		}

		return false;
	}