function isPlayer(type) {
  return (
    type == leftFacingPlayer_A ||
    type == rightFacingPlayer_A ||
    type == rightFacingPlayer_B ||
    type == leftFacingPlayer_B ||
    type == leftPunchingPlayer ||
    type == rightPunchingPlayer ||
    type == rightFacingMagnetPlayer ||
    type == leftFacingMagnetPlayer ||
    type == leftFacingGunPlayer ||
    type == rightFacingGunPlayer
  );
}
Is the given type a player?
@param {*} type Entity type
@returns true or false