system/Database/BaseConnection.php
public function fieldExists(string $fieldName, string $tableName): bool
	{
		return in_array($fieldName, $this->getFieldNames($tableName));
	}
public function fieldExists(string $fieldName, string $tableName): bool
	{
		return in_array($fieldName, $this->getFieldNames($tableName));
	}
Determine if a particular field exists

@param  string   $fieldName
@param  string   $tableName
@return boolean