src/Helper/TableManipulator.php
public function checkColumnExists($strTableName, $strColName, $blnAllowSystemCol = false)
    {
        $this->checkTableExists($strTableName);
        $this->checkColumnName($strColName, $blnAllowSystemCol);

        if (!$this->fieldExists($strTableName, $strColName)) {
            throw ColumnDoesNotExistException::withName($strColName, $strTableName);
        }
    }
public function checkColumnExists($strTableName, $strColName, $blnAllowSystemCol = false)
    {
        $this->checkTableExists($strTableName);
        $this->checkColumnName($strColName, $blnAllowSystemCol);

        if (!$this->fieldExists($strTableName, $strColName)) {
            throw ColumnDoesNotExistException::withName($strColName, $strTableName);
        }
    }
Checks whether the given table exists.

@param string  $strTableName      The table name to check.

@param string  $strColName        The column name to check.

@param boolean $blnAllowSystemCol If this is set to true, no system column name checking will be applied.

@return void

@throws \Exception If an invalid table name has been passed or the table does not exist, the column name is
invalid or the column does not exist.

@SuppressWarnings(PHPMD.CamelCaseVariableName)