enable
enable($on); - this function is used to change the availability of the window.
the input Function accepts parameters:
$on – new window availability (boolean), if true the window becomes available, and if false it becomes unavailable.
After testing, the function returns the result of its work to the script :
true – found and changed the availability.
false – couldn't change it.