function visible($obj,$key) {
		if (property_exists($obj,$key)) {
			$ref=new ReflectionProperty(get_class($obj),$key);
			$out=$ref->ispublic();
			unset($ref);
			return $out;
		}
		return FALSE;
	}
function visible($obj,$key) {
		if (property_exists($obj,$key)) {
			$ref=new ReflectionProperty(get_class($obj),$key);
			$out=$ref->ispublic();
			unset($ref);
			return $out;
		}
		return FALSE;
	}
function visible ( $ obj , $ key ) { if ( property_exists ( $ obj , $ key ) ) { $ ref = new ReflectionProperty ( get_class ( $ obj ) , $ key ) ; $ out = $ ref -> ispublic ( ) ; unset ( $ ref ) ; return $ out ; } return FALSE ; }
Return TRUE if property has public visibility
@return bool
@param $obj object
@param $key string
Return TRUE if property has public visibility