This function, as a stand-alone function, seems to be mixing concerns the way it reads currently. I could see myself mistakenly calling this to confirm whether an environment was indeed not library and getting some error message about how I can't delete it. Perhaps something like `is_deleteable?` or `confirm_deletable?` that checks whether an environment passes deletion criteria.