No, if you depend on $Product variable, you cannot create a statement based on it before you access it. This should be pretty straightforward.
if($Product->something) {} //this is meaningless and will throw and error
//if you define $Product->something here
you just have to do your if_statement in the loop and overhead is neglieable...