def is_npc(self):
        """Return True if this character is an npc, false if it is not."""
        if self.char_type == 'npc':
            return True
        return False
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/models/character.py/Character.is_npc/original