Get block_attr?

Is there a way how I can get key/value pairs block_attrs in my tir.Schedule?

Edit: I found it! Its: sch.get(block).annotations