Checks module availability and returns a result instead of throwing.
The module to check
Object with availability status and optional error message
Checks module availability and returns a result instead of throwing.