public function tableHaskey($table, $key)
	{
		$keys = $this->getTableKeys($table);

		if (!is_array($keys))
		{
			return false;
		}

		return isset($keys[$key]);
	}
public function tableHaskey($table, $key)
	{
		$keys = $this->getTableKeys($table);

		if (!is_array($keys))
		{
			return false;
		}

		return isset($keys[$key]);
	}
public function tableHaskey ( $ table , $ key ) { $ keys = $ this -> getTableKeys ( $ table ) ; if ( ! is_array ( $ keys ) ) { return false ; } return isset ( $ keys [ $ key ] ) ; }
Returns whether or not the given table has a given key

@param   string  $table  A table name
@param   string  $key    A key name
@return  bool
@since   2.0.0
Returns whether or not the given table has a given key