function isNPC(type) {
  return (
    type == npcFacingLeft ||
    type == npcFacingRight ||
    type == npcEvilLeft ||
    type == npcEvilRight
  );
}
Is the given type an NPC?
@param {*} type Entity type
@returns true or false