Predicate isStaticmethod
Holds if the function func is a staticmethod – either by having a
@staticmethod decorator or by convention
(like a __new__ method on a class is a classmethod even without the decorator).
Import path
import semmle.python.dataflow.new.internal.DataFlowDispatchpredicate isStaticmethod(Function func)