Whether origin is the wildcard, tolerating the surrounding whitespace a shell or an env-var passthrough can leave behind.
origin
static bool isAnyOrigin(String origin) => origin.trim() == anyOrigin;