<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_optional(self, name):
 """ Gets all optional dependencies by their name. :param name: the dependency name to locate. :return: a list with found dependencies or empty list of no dependencies was found. """

        locator = self._locate(name)
        return self._references.get_optional(locator) if locator != None else None