API ScriptRegion IsMouseEnabled

Returns true if the region can receive mouse input.
 enabled = ScriptRegion:IsMouseEnabled()
==Returns==
:;enabled:
==Example==
Tests enabling mouse input on a frame.
local f = CreateFrame("Frame")
print(f:IsMouseEnabled()) -- false
f:EnableMouse(true)
print(f:IsMouseEnabled()) -- true
==Details==
Essentially returns true when IsMouseClickEnabled and IsMouseMotionEnabled both return true.
local f = CreateFrame("Frame")
print(f:IsMouseEnabled(), f:IsMouseClickEnabled(), f:IsMouseMotionEnabled()) -- false, false, false
f:SetMouseClickEnabled(true)
f:SetMouseMotionEnabled(true)
print(f:IsMouseEnabled(), f:IsMouseClickEnabled(), f:IsMouseMotionEnabled()) -- true, true, true