def METHOD_NAME(structures):
    """Handle multiple types of structures passed. List of xyz, mol2 files,
    or list of xyz, mol2strings.
    Parameters
    ----------
    structures : list
        Structures you want visualized: can either be a list or individual:
        mol2 strings, mol2 files, xyz strings, xyz files, or mol3D objects
    """
    outlist = []
    if not isinstance(structures, str):
        # Convert other array-like arguments to a list.
        structures = list(structures)
    if isinstance(structures, list):
        for i, x in enumerate(structures):
            if isinstance(x, mol3D):
                outlist.append(x)
                continue
            mol = mol3D()
            # mol2string
            if 'TRIPOS' in x:
                mol.readfrommol2(x, readstring=True)
            # Xyz filename
            elif x[-4:] == '.xyz':
                mol.readfromxyz(x)
            # mol2 filename
            elif x[-5:] == '.mol2':
                mol.readfrommol2(x)
            # checking for number at start of string -> indicates xyz string
            elif (len(x.split('\n')) > 3) & (x.split('\n')[0].replace(' ', '').isnumeric()):
                mol.readfromstring(x)
            # checking for similar file without header
            elif (len(x.split('\n')[0].split()) == 4) and x.split('\n')[0].split()[0]:
                mol.readfromstring(x)
            else:
                raise ValueError('Not Recognized Structure Type for index: ' + str(i))
            outlist.append(mol)
    elif isinstance(structures, str):
        x = structures
        mol = mol3D()
        # mol2string
        if 'TRIPOS' in x:
            mol.readfrommol2(x, readstring=True)
        # Xyz filename
        elif x[-4:] == '.xyz':
            mol.readfromxyz(x)
        # mol2 filename
        elif x[-5:] == '.mol2':
            mol.readfrommol2(x)
        # checking for number at start of string -> indicates xyz string
        elif (len(x.split('\n')) > 3) & (x.split('\n')[0].replace(' ', '').isnumeric()):
            mol.readfromstring(x)
        # checking for similar file without header
        elif (len(x.split('\n')[0].split()) == 4) and x.split('\n')[0].split()[0]:
            mol.readfromstring(x)
        else:
            raise ValueError('Not Recognized Structure Type Passed')
        outlist.append(mol)
    elif isinstance(structures, mol3D):
        outlist = structures
    else:
        raise ValueError('Not Recognized Structure Type Passed')
    return outlist