Exclude Databricks from notebook env
# What does this PR do?

This PR makes sures `is_in_notebook()` returns `False` when inside Databricks.
Fixes #17406 
_The documentation is not available anymore as the PR was closed or merged._