/// <summary>
        /// Checks if given statement is allowed for this column type.
        /// </summary>
        /// <returns>True if allowed; false otherwise.</returns>
        internal bool IsAllowed(StatementKeyword statementKeyword)
        {
            switch (statementKeyword.StatementType)
            {
            case StatementType.IsEmpty:
            case StatementType.IsNotEmpty:
                return(SystemType.IsNullable());

            case StatementType.IsFalse:
            case StatementType.IsTrue:
                return(SystemType == typeof(bool) || SystemType == typeof(bool?));
            }

            return(false);
        }