fact: Definition typeSpec_isStatic (ek:TypeDefKind) (mods:list Modifier) : bool := let static_present := existsb (eqb_Modifier static) mods in let instance_present := existsb (eqb_Modifier instance) mods in static_present || ((eqb_TypeDefKind ek InterfaceEK) && (negb instance_present)).
imports: JML(Prelude) Coq(ZArith) Coq(Bool) Coq(List) JML(TaggedList) JML(ListHelpers) JML(ListFunctions) JML(OptionHelpers) JML(JMLProgramPlusImpl) JML(JMLFull2Basic) JML(JMLExpressionNotations)