class_docstr: Derive from this abstract Reader class to create your own image reader in Python
  
  You need to implement the methods below in the derived class.
  
  Use this block of text to describe your reader to the user.
class_docstr_tok: ["Derive","from","this","abstract","Reader","class","to","create","your","own","image","reader","in","Python","You","need","to","implement","the","methods","below","in","the","derived","class",".","Use","this","block","of","text","to","describe","your","reader","to","the","user","."]
docstr: This function needs to evaluate whether a given ImageFile object
  can be read by this reader class.
  
  Return value should be an integer representing suitability:
  -1 - 'I can't read this at all'
  1 - 'I am the one true reader for this format, don't even bother checking any others'
  2 - 'I am well-suited to this format'
  3 - 'I can read this format, but I might not be the best',
  4 - 'I can give it a go, if you must'
  
  The allow_open parameter dictates whether the reader is permitted to read the file when
  making this decision. If False the decision should be made using file extension only.
  Any opened files should be closed before returning. For now readers are selected with
  allow_open disabled, but this may change in the future.
  
  The volume parameter specifies whether the reader will need to return a 3D array.
  .
docstr_tok: ["This","function","needs","to","evaluate","whether","a","given","ImageFile","object","can","be","read","by","this","reader","class",".","Return","value","should","be","an","integer","representing","suitability",":","-1","-","'","I","ca","n't","read","this","at","all'","1","-","'","I","am","the","one","true","reader","for","this","format",",","do","n't","even","bother","checking","any","others'","2","-","'","I","am","well-suited","to","this","format'","3","-","'","I","can","read","this","format",",","but","I","might","not","be","the","best","'",",","4","-","'","I","can","give","it","a","go",",","if","you","must'","The","allow_open","parameter","dictates","whether","the","reader","is","permitted","to","read","the","file","when","making","this","decision",".","If","False","the","decision","should","be","made","using","file","extension","only",".","Any","opened","files","should","be","closed","before","returning",".","For","now","readers","are","selected","with","allow_open","disabled",",","but","this","may","change","in","the","future",".","The","volume","parameter","specifies","whether","the","reader","will","need","to","return","a","3D","array",".","."]
code: def supports_format(cls, image_file, allow_open=False, volume=False):
      """This function needs to evaluate whether a given ImageFile object
      can be read by this reader class.
  
      Return value should be an integer representing suitability:
      -1 - 'I can't read this at all'
      1 - 'I am the one true reader for this format, don't even bother checking any others'
      2 - 'I am well-suited to this format'
      3 - 'I can read this format, but I might not be the best',
      4 - 'I can give it a go, if you must'
  
      The allow_open parameter dictates whether the reader is permitted to read the file when
      making this decision. If False the decision should be made using file extension only.
      Any opened files should be closed before returning. For now readers are selected with
      allow_open disabled, but this may change in the future.
  
      The volume parameter specifies whether the reader will need to return a 3D array.
      ."""
      return -1
  
file_path: CellProfiler/src/subpackages/core/cellprofiler_core/reader/_reader.py
imports: import uuid
  from abc import ABC, abstractmethod
  import numpy
label_desc: Use image node_id 8 for calling the Reader obj's underlying member method code with example usage: obj.supports_format(cls, image_file, allow_open, volume) and returns: unknown