Is there a way to know if the installed Android is official?
Look at the bootloader screen, there is a field that says Software Status, if it says "Official", well, then it's official. 

You can access the bootloader screen by powering off, then hold Vol Dn and Power until together until the screen appears.