def getElementNamesWithInterface(elements, searching_interface):
    """
    Find all the elements that include an specific interface

    Implementation of
    https://sardana-controls.org/_modules/sardana/taurus/core/tango/sardana/macroserver.html#BaseMacroServer.getElementNamesWithInterface
    """
    found = []
    for element in elements:
        if searching_interface in element["interfaces"]:
            found.append(element["name"])
    return found