code: def isFileNotExcluded(self, fileName):
      if self.args.exclude is not None:
          for excluded in self.args.exclude:
              if excluded in fileName:
                  return False
      if os.path.islink(fileName):
          return False
  
      return True
  
imports: import argparse
  import filecmp
  import os
  import re
  import sets
  import subprocess
  import sys
  from termcolor import cprint
label_desc: Use image node_id 7 for calling the CodeFormat obj's underlying member method code with example usage: obj.isFileNotExcluded(fileName) and returns: True, False, False