class_docstr: Represents an implementation to read/write a particular file format
  
  A format instance is responsible for 1) providing information about
  a format; 2) determining whether a certain file can be read/written
  with this format; 3) providing a reader/writer class.
  
  Generally, imageio will select the right format and use that to
  read/write an image. A format can also be explicitly chosen in all
  read/write functions. Use ``print(format)``, or ``help(format_name)``
  to see its documentation.
  
  To implement a specific format, one should create a subclass of
  Format and the Format.Reader and Format.Writer classes. See
  :class:`imageio.plugins` for details.
  
  Parameters
  ----------
  name : str
      A short name of this format. Users can select a format using its name.
  description : str
      A one-line description of the format.
  extensions : str | list | None
      List of filename extensions that this format supports. If a
      string is passed it should be space or comma separated. The
      extensions are used in the documentation and to allow users to
      select a format by file extension. It is not used to determine
      what format to use for reading/saving a file.
  modes : str
      A string containing the modes that this format can handle ('iIvV'),
      “i” for an image, “I” for multiple images, “v” for a volume,
      “V” for multiple volumes.
      This attribute is used in the documentation and to select the
      formats when reading/saving a file.
class_docstr_tok: ["Represents","an","implementation","to","read\/write","a","particular","file","format","A","format","instance","is","responsible","for","1",")","providing","information","about","a","format",";","2",")","determining","whether","a","certain","file","can","be","read\/written","with","this","format",";","3",")","providing","a","reader\/writer","class",".","Generally",",","imageio","will","select","the","right","format","and","use","that","to","read\/write","an","image",".","A","format","can","also","be","explicitly","chosen","in","all","read\/write","functions",".","Use","``","print","(","format",")","``",",","or","``","help","(","format_name",")","``","to","see","its","documentation",".","To","implement","a","specific","format",",","one","should","create","a","subclass","of","Format","and","the","Format.Reader","and","Format.Writer","classes",".","See",":","class",":","`","imageio.plugins","`","for","details",".","Parameters","--","--","--","--","--","name",":","str","A","short","name","of","this","format",".","Users","can","select","a","format","using","its","name",".","description",":","str","A","one-line","description","of","the","format",".","extensions",":","str","|","list","|","None","List","of","filename","extensions","that","this","format","supports",".","If","a","string","is","passed","it","should","be","space","or","comma","separated",".","The","extensions","are","used","in","the","documentation","and","to","allow","users","to","select","a","format","by","file","extension",".","It","is","not","used","to","determine","what","format","to","use","for","reading\/saving","a","file",".","modes",":","str","A","string","containing","the","modes","that","this","format","can","handle","(","'iIvV","'",")",",","\u201c","i","\u201d","for","an","image",",","\u201c","I","\u201d","for","multiple","images",",","\u201c","v","\u201d","for","a","volume",",","\u201c","V","\u201d","for","multiple","volumes",".","This","attribute","is","used","in","the","documentation","and","to","select","the","formats","when","reading\/saving","a","file","."]
docstr: Check if Plugin can read from ImageResource.
  
  This method is called when the format manager is searching for a format
  to read a certain image. Return True if this format can do it.
  
  The format manager is aware of the extensions and the modes that each
  format can handle. It will first ask all formats that *seem* to be able
  to read it whether they can. If none can, it will ask the remaining
  formats if they can: the extension might be missing, and this allows
  formats to provide functionality for certain extensions, while giving
  preference to other plugins.
  
  If a format says it can, it should live up to it. The format would
  ideally check the request.firstbytes and look for a header of some kind.
  
  Parameters
  ----------
  request : Request
      A request that can be used to access the ImageResource and obtain
      metadata about it.
  
  Returns
  -------
  can_read : bool
      True if the plugin can read from the ImageResource, False otherwise.
docstr_tok: ["Check","if","Plugin","can","read","from","ImageResource",".","This","method","is","called","when","the","format","manager","is","searching","for","a","format","to","read","a","certain","image",".","Return","True","if","this","format","can","do","it",".","The","format","manager","is","aware","of","the","extensions","and","the","modes","that","each","format","can","handle",".","It","will","first","ask","all","formats","that","*","seem","*","to","be","able","to","read","it","whether","they","can",".","If","none","can",",","it","will","ask","the","remaining","formats","if","they","can",":","the","extension","might","be","missing",",","and","this","allows","formats","to","provide","functionality","for","certain","extensions",",","while","giving","preference","to","other","plugins",".","If","a","format","says","it","can",",","it","should","live","up","to","it",".","The","format","would","ideally","check","the","request.firstbytes","and","look","for","a","header","of","some","kind",".","Parameters","--","--","--","--","--","request",":","Request","A","request","that","can","be","used","to","access","the","ImageResource","and","obtain","metadata","about","it",".","Returns","--","--","--","-","can_read",":","bool","True","if","the","plugin","can","read","from","the","ImageResource",",","False","otherwise","."]
code: def _can_read(self, request):  # pragma: no cover
      """Check if Plugin can read from ImageResource.
  
      This method is called when the format manager is searching for a format
      to read a certain image. Return True if this format can do it.
  
      The format manager is aware of the extensions and the modes that each
      format can handle. It will first ask all formats that *seem* to be able
      to read it whether they can. If none can, it will ask the remaining
      formats if they can: the extension might be missing, and this allows
      formats to provide functionality for certain extensions, while giving
      preference to other plugins.
  
      If a format says it can, it should live up to it. The format would
      ideally check the request.firstbytes and look for a header of some kind.
  
      Parameters
      ----------
      request : Request
          A request that can be used to access the ImageResource and obtain
          metadata about it.
  
      Returns
      -------
      can_read : bool
          True if the plugin can read from the ImageResource, False otherwise.
  
      """
      return None
  
imports: import sys
  import warnings
  import contextlib
  import numpy
  from pathlib import Path
  from .None import Array, asarray
  from .request import ImageMode
  from ..config import known_plugins, known_extensions, PluginConfig, FileExtension
  from ..config.plugins import _original_order
  from .imopen import imopen
label_desc: Use image node_id 13 for calling the Format obj's underlying member method code with example usage: obj._can_read(request) and returns: None