added isCellOnLevelXGrid method

kind of naive approach, may be improved later on