public function tableHasField($table, $field)
	{
		$this->setQuery('SHOW FIELDS FROM ' . $table);
		$fields = $this->loadObjectList('Field');

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

		return (in_array($field, array_keys($fields))) ? true : false;
	}