finished isOnBoard and its helper methods