def get_all_names(obj):
    """
    Should return all possible names for object, for example real name of user or food, nick...

    :param obj: user or food
    :return: list of strings
    """

    res = list()
    if "name" in dir(obj):
        if obj.name is not None:
            res.append(obj.name)
    if "nick" in dir(obj):
        if obj.nick is not None:
            res.append(obj.nick)

    return res