title: Bash Functions: how to check if you are in an environment?
body: <p>Is it possible to check in a function if the command was executed within a specific environment or directory?
  If so... How do you do it?</p>
  
  <pre><code>function hello(){
  #Check if this environment is the hello environment
  #Then do something
  }
  </code></pre>