(self)
| 2488 | return self == ARG_NAMED or self == ARG_NAMED_OPT or (star and self == ARG_STAR2) |
| 2489 | |
| 2490 | def is_required(self) -> bool: |
| 2491 | return self == ARG_POS or self == ARG_NAMED |
| 2492 | |
| 2493 | def is_optional(self) -> bool: |
| 2494 | return self == ARG_OPT or self == ARG_NAMED_OPT |
no outgoing calls