multi_tools/system/dll.py
def HasFunc_NoBody(f: Union[FunctionType, MethodType]) -> bool:
        """
        Return whether f() has not declared a body,
        in other words, if it does nothing.
        """
        if f.__code__.co_code == b'd\x01S\x00':  # bytecode for doc and empty code
            return True
        if f.__code__.co_code == b'd\x00S\x00':  # bytecode for empty code
            return True
        return False

        Return whether f() has not declared a body,
        in other words, if it does nothing.
        
Return whether f() has not declared a body,
in other words, if it does nothing.
Return whether f () has not declared a body in other words if it does nothing .
def HasFunc_NoBody(f: Union[FunctionType, MethodType]) -> bool:
        if f.__code__.co_code == b'd\x01S\x00':  
            return True
        if f.__code__.co_code == b'd\x00S\x00':  
            return True
        return False
def HasFunc_NoBody ( f : Union [ FunctionType , MethodType ] ) -> bool : if f . __code__ . co_code == b'd\x01S\x00' : return True if f . __code__ . co_code == b'd\x00S\x00' : return True return False
Return whether f() has not declared a body,
in other words, if it does nothing.
Return whether f () has not declared a body in other words if it does nothing .
"""
        Return whether f() has not declared a body,
        in other words, if it does nothing.
        """ # bytecode for doc and empty code # bytecode for empty code
f
Union[FunctionType, MethodType]