function isBullet(type) {
  return (
    type == bullet_right ||
    type == bullet_left ||
    type == player_bullet_right ||
    type == player_bullet_left
  );
}
Is the entity type a kind of bullet.
@param {*} entity type
@returns