make isValidMoveTarget() use content object instead of regular expressions