created function to check static config