Returns the flags set for address ea. You will need to run this to obtain the flags for an address to then use with functions like isHead(), isCode(), etc.
Examples:
#include <kernwin.hpp> // For get_screen_ea() definition
#include <bytes.hpp>
msg("Flags for %a are %08x\n",
get_screen_ea(),
getFlags(get_screen_ea()));