If a CustomEvent overrides another CustomEvent, then it inherits the super's net flags. This method does that work for you, either returning the super function's flags, or this node's flags (if it's not an override).