def METHOD_NAME(self) -> List[VariableSymbol]:
    """
    Returns a list of all defined input ports.
    :return: a list of all input ports.
    """
    symbols = self.get_scope().get_symbols_in_this_scope()
    ret = list()
    for symbol in symbols:
        if isinstance(symbol, VariableSymbol) and symbol.block_type == BlockType.INPUT:
            ret.append(symbol)
    return ret