src/Ajaxer.php
public function has( $key = '', $type = 'GET' ) {
		switch ( $type ) {
			case 'GET':
			case 'get':
				$has = ( isset( $_GET[ $key ] ) ) ? $_GET[ $key ] : false;
				break;
			case 'POST':
			case 'post':
				$has = ( isset( $_POST[ $key ] ) ) ? $_POST[ $key ] : false;
				break;
			default:
				$has = ( isset( $_REQUEST[ $key ] ) ) ? $_REQUEST[ $key ] : false;
				break;
		}
		return $has;
	}
public function has( $key = '', $type = 'GET' ) {
		switch ( $type ) {
			case 'GET':
			case 'get':
				$has = ( isset( $_GET[ $key ] ) ) ? $_GET[ $key ] : false;
				break;
			case 'POST':
			case 'post':
				$has = ( isset( $_POST[ $key ] ) ) ? $_POST[ $key ] : false;
				break;
			default:
				$has = ( isset( $_REQUEST[ $key ] ) ) ? $_REQUEST[ $key ] : false;
				break;
		}
		return $has;
	}
Checks if given key exists in given request global array ($_GET/$_POST/$_REQUEST)

@param string $key
@param string $type

@return bool