code: def _is_linux_armhf(executable: str) -> bool:
      # hard-float ABI can be detected from the ELF header of the running
      # process
      # https://static.docs.arm.com/ihi0044/g/aaelf32.pdf
      with _parse_elf(executable) as f:
          return (
              f is not None
              and f.capacity == EIClass.C32
              and f.encoding == EIData.Lsb
              and f.machine == EMachine.Arm
              and f.flags & EF_ARM_ABIMASK == EF_ARM_ABI_VER5
              and f.flags & EF_ARM_ABI_FLOAT_HARD
              == EF_ARM_ABI_FLOAT_HARD
          )
  
imports: import collections
  import contextlib
  import functools
  import os
  import re
  import sys
  import warnings
  from typing import Dict, Generator, Iterator, NamedTuple, Optional, Tuple
  from ._elffile import EIClass, EIData, ELFFile, EMachine
label_desc: Use image node_id 2 for calling a global function with example usage: _is_linux_armhf(executable) and returns: unknown