Because I'm attempting to hook into these scripts and want to make sure it's doing it correctly.
Code:
local func1 = CharacterFrame:GetScript("OnShow")
CharacterFrame:HookScript("OnShow", print)
local func2 = CharacterFrame:GetScript("OnShow")
if func1 ~= func2 then
-- hook successful
end