public function _is_associative_array($arr) {
		foreach ( array_keys($arr) as $key => $val ) {
			if ($key!==$val) {
				return TRUE;
			}
		}
		return FALSE;
	}
public function _is_associative_array($arr) {
		foreach ( array_keys($arr) as $key => $val ) {
			if ($key!==$val) {
				return TRUE;
			}
		}
		return FALSE;
	}
public function _is_associative_array ( $ arr ) { foreach ( array_keys ( $ arr ) as $ key => $ val ) { if ( $ key !== $ val ) { return TRUE ; } } return FALSE ; }
Checks for an associative array

@param type
@return type
Checks for an associative array