def little_endian(self):
        """
        Return the little_endian attribute of the BFD file being processed.
        """
        if not self._ptr:
            raise BfdException("BFD not initialized")

        return _bfd.get_bfd_attribute(self._ptr, BfdAttributes.IS_LITTLE_ENDIAN)
Return the little_endian attribute of the BFD file being processed.