code: def _accept(prefix: bytes) -> bool:
      return prefix[0:1] == b"P" and prefix[1] in b"0123456fy"
  
imports: from __future__ import annotations
  import math
  from io import BytesIO
  from .None import Image, ImageFile
  from ._binary import i16be
  from ._binary import o8
  from ._binary import o32le
label_desc: Use image node_id 1 for calling a global function with example usage: _accept(prefix) and returns: unknown