def get_film_id(self, title, three_dimensional=False):
        """get the film id using the title in conjunction with the searching function"""
        films = self.film_search(title)
        for film in films:
            if (film['title'].find('3D') is - 1) is not three_dimensional:
                return film['edi']
        return -1
def get_film_id ( self , title , three_dimensional = False ) : films = self . film_search ( title ) for film in films : if ( film [ 'title' ] . find ( '3D' ) is - 1 ) is not three_dimensional : return film [ 'edi' ] return - 1
get the film id using the title in conjunction with the searching function