# How to check whether a function is marked as decompiled?

**URL:** <https://community.hex-rays.com/t/how-to-check-whether-a-function-is-marked-as-decompiled/680>\
**Category:** C++ SDK & IDAPython\
**Tags:** idapython\
**Created:** [February 19, 2026, 8:40am UTC](https://community.hex-rays.com/t/how-to-check-whether-a-function-is-marked-as-decompiled/680 "2026-02-19T08:40:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![0x154](https://avatars.discourse-cdn.com/v4/letter/0/9dc877/32.png) [@0x154](https://community.hex-rays.com/u/0x154)\
**Post date:** [February 19, 2026, 8:40am UTC](https://community.hex-rays.com/t/how-to-check-whether-a-function-is-marked-as-decompiled/680/1 "2026-02-19T08:40:46Z")

</div>

Hi everyone! I’m trying to make a plugin which dumps function pseudocode if the function has been marked as decompiled however, I’m struggling to find the API which tells me if function has been marked as decompiled.

Does anybody know how to get it? Thanks!

---

<div class="post-metadata">

**Author:** ![igor](https://sea2.discourse-cdn.com/flex002/user_avatar/community.hex-rays.com/igor/32/35_2.png) [@igor](https://community.hex-rays.com/u/igor)\
**Post date:** [February 19, 2026, 9:26am UTC](https://community.hex-rays.com/t/how-to-check-whether-a-function-is-marked-as-decompiled/680/2 "2026-02-19T09:26:26Z")

</div>

Hi,

There is no specific API because all that the action does is to change the function’s color to the one configured in the decompiler options. To get it you can use, for example, `idc.get_func_attr(funcea, idc.FUNCATTR_COLOR)`.

---

<div class="post-metadata">

**Author:** ![0x154](https://avatars.discourse-cdn.com/v4/letter/0/9dc877/32.png) [@0x154](https://community.hex-rays.com/u/0x154)\
**Post date:** [February 19, 2026, 6:31pm UTC](https://community.hex-rays.com/t/how-to-check-whether-a-function-is-marked-as-decompiled/680/3 "2026-02-19T18:31:56Z")

</div>

Thanks! that works flawlessly
