This is a generic question about the idea of inferring some of the system configurations from the existence of a file or the lacking of it.
For example, we have a module of the system which is optional, and it requires another software package, what we are doing inside the code is to check the existence of that package during the load time, and if that package is not there, we disable that module (we configure the system using the existence of the file).
From a good software engineering and best practices prospective, is it bad? should I be described as a bad software engineer when I defend this idea!?