| 734 | return feature_state_value and feature_state_value.value |
| 735 | |
| 736 | def get_feature_state_value(self, identity: "Identity" = None) -> typing.Any: # type: ignore[assignment] |
| 737 | identity_hash_key = ( |
| 738 | identity.get_hash_key( |
| 739 | identity.environment.use_identity_composite_key_for_hashing |
| 740 | ) |
| 741 | if identity |
| 742 | else None |
| 743 | ) |
| 744 | return self.get_feature_state_value_by_hash_key(identity_hash_key) # type: ignore[arg-type] |
| 745 | |
| 746 | def get_feature_state_value_defaults(self) -> dict[str, typing.Any]: |
| 747 | if ( |