Is there a quick way to tell if the property of a class is dynamic?

Consider the following code:

```php
class Foo {
   public $bar;
}

$obj = new Foo;
$obj->baz = 1;

```

How can I tell that `$bar` is declared and `$baz` is dynamic?