public function field_exists( $params ) {

		$params = (object) pods_sanitize( $params );

		if ( ( ! empty( $params->id ) || ! empty( $params->name ) ) && isset( $params->pod_id ) && ! empty( $params->pod_id ) ) {
			if ( ! isset( $params->name ) ) {
				$dummy = (int) $params->id;
				$field = get_post( $dummy );
			} else {
				$field = get_posts( array(
					'name'           => $params->name,
					'post_type'      => '_pods_field',
					'posts_per_page' => 1,
					'post_parent'    => $params->pod_id
				) );
			}

			if ( ! empty( $field ) ) {
				return true;
			}
		}

		return false;
	}