Is it really the BD drive that returns a true/false answer about the disk that is inserted? Isn't it just reading a code which then is up to the PS3 to interpret and take actions after?

If it just returns a true/false parameter then the drive firmware would be more interesting that i first thought. However, just hacking the BD firmware won't allow homebrew which is the ultimate goal.