Function isInLocalOrDevelopment