Added comment in JSDoc style and rewrote function name to shouldIgnoreNamespace