original_docstring: 
      Check if meme is eligable to be included.
      Must be a file, and must not have been used before.
      
docstring: Check if meme is eligable to be included.
  Must be a file, and must not have been used before.
docstring_tokens: Check if meme is eligable to be included . Must be a file and must not have been used before .
code: def is_eligable_meme(dir: str, meme: str, used_memes: UsedMemes) -> bool:
      """
      Check if meme is eligable to be included.
      Must be a file, and must not have been used before.
      """
  
      if not os.path.isfile(os.path.join(dir, meme)):
          # Not a file, skip
          return False
  
      if meme in used_memes:
          # Used already, skip
          return False
      return True
code_tokens: def is_eligable_meme ( dir : str , meme : str , used_memes : UsedMemes ) -> bool : if not os . path . isfile ( os . path . join ( dir , meme ) ) : return False if meme in used_memes : return False return True
short_docstring: Check if meme is eligable to be included.
short_docstring_tokens: Check if meme is eligable to be included .
comment: """
      Check if meme is eligable to be included.
      Must be a file, and must not have been used before.
      """$SEP$# Not a file, skip$SEP$# Used already, skip