def is_parameter_encoder(element):
    """
    Check if element is a parameter encoder

    Example:
    "text":{"type": "service", "name": "storage", "variable": "@text"}

    Parameters
    ----------
    element : object

    Returns
    -------
    bool
    """
    if type(element) is dict:
        if element.get("type") is not None and element.get("variable") is not None:
            if element.get("type") == "service" and element.get("name") is not None:
                return True
            elif element.get("type") == "input":
                return True
    return False