fix hiding of column if it has no element in content.xml
add boolean flag to hideColumn function
add function hasColumn to models