def collides_with_entry(self, pos):
        """Return whether given pos collides with entry."""
        ### TODO review/refactor this "if block"

        if isinstance(self.value, str) or len(self.value) == 1:
            return False

        entry = self.index_entry

        entry.rect.topleft = self.button_rects[1].move(self.rect.topleft).topright

        entry.rect.x += 1

        return entry.rect.collidepoint(pos)
Return whether given pos collides with entry.
nodezator/widget/pathpreview/base.py