Refactor check for column declaration