#NEWLINE# def __in__( self , arg ) : #NEWLINE# #INDENT# '\n        Check, if movie of name `arg` is present in the object.\n\n        Parameters\n        ----------\n        arg : str\n            Filename.\n        ' #NEWLINE# _a = os . path . splitext ( arg ) #NEWLINE# if ( _a [ 1 ] not in ( 'txt' , 'jpg' ) ) : #NEWLINE# #INDENT# arg = _a [ 0 ] #NEWLINE# #UNINDENT# return ( ( arg in arg . visible_files ) or ( ( self . adj_tokens [ 0 ] is not None ) and ( arg == ' prev' ) ) or ( ( self . adj_tokens [ 0 ] is None ) and ( self . adj_tokens [ 1 ] is not None ) and ( arg == ' next' ) ) )